package com.principle.mediator;

public abstract class Mediator {
    //将给中介者对象，加入到集合中
    abstract void Register(String colleagueName,Colleague colleague);
    //接收消息，具体的同事发出
    abstract void GetMessage(int stateChange,String colleagueName);
    abstract void SendMessage();
}
